<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="zh">
 <head>
  <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
  <meta content="2018-10-23T06:18:10.521000000" name="created"/>
  <meta content="2023-12-12T09:31:23" name="changed" translator="gocpicnic"/>
  <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
  <meta content="zh" http-equiv="Content-Language"/>
  <title>
   <!-- LED Matrix -->
   LED矩阵
  </title>
  <link href="../../style.css" rel="stylesheet" type="text/css"/>
 </head>
 <body>
  <div class="maindiv">
   <h1>
    <!-- <img class="iconlibs" src="../../../../icons/6464/dotmat.png" alt="#########"> <em>LED Matrix</em> -->
    <img alt="#########" class="iconlibs" src="../../../../icons/6464/dotmat.png"/>
    <em>
     LED 矩阵
    </em>
   </h1>
   <table>
    <tbody>
     <tr>
      <td>
       <!-- <strong>Library:</strong> -->
       <strong>
        库:
       </strong>
      </td>
      <td>
       <!-- <a href="index.html">Input/Output</a> -->
       <a href="index.html">
        输入/输出
       </a>
      </td>
     </tr>
     <tr>
      <td>
       <!-- <strong>Introduced:</strong> -->
       <strong>
        介绍:
       </strong>
      </td>
      <td>
       2.2.0
      </td>
     </tr>
     <tr>
      <td valign="top">
       <!-- <strong>Appearance:</strong> -->
       <strong>
        外观符号:
       </strong>
      </td>
      <td valign="top">
       <img alt="#########" class="appearancelibs" height="64" src="../../../../img-libs/dotmatsq.png" width="64"/>
       <img alt="#########" class="appearancelibs" height="64" src="../../../../img-libs/dotmatci.png" width="64"/>
      </td>
     </tr>
    </tbody>
   </table>
   <h2>
    <!-- Behavior -->
    行为
   </h2>
   <p>
    <!-- Displays a small grid of pixels, whose values are determined by the current inputs. The grid can have up to 32 rows and 32 columns. -->
    显示一个小像素网格，其值由当前输入确定。 网格最多可以有 32 行和 32 列。
   </p>
   <h2>
    <!-- Pins -->
    引脚
   </h2>
   <p>
    <!-- The interface to the component varies depending on the value of the Input Format attribute. It has three possible values. -->
    组件的接口根据输入格式属性的值而变化。 它具有三个可能的值。
   </p>
   <dl>
    <dt>
     <!-- Columns -->
     列
    </dt>
    <dd>
     <!-- The inputs are lined along the component's south edge, with one multibit input for each column of the matrix. Each input has as many bits as there are rows in the matrix, with the low-order bit corresponding to the southmost pixel in the column. A 1 indicates to light the corresponding pixel, while a 0 indicates to keep the pixel dim. If any of the bits for a column are either floating or error values, then all pixels in the column are lit. -->
     输入沿着组件的南边缘排列，矩阵的每一列都有一个多位输入。 每个输入的位数与矩阵中的行数一样多，低位对应于列中最南端的像素。 1 表示点亮相应像素，而 0 表示保持该像素变暗。 如果列的任何位是浮点值或错误值，则该列中的所有像素都会点亮。
    </dd>
    <dt>
     <!-- Rows -->
     行数
    </dt>
    <dd>
     <!-- The inputs are lined along the component's west edge, with one multibit input for each row of the matrix. Each input has as many bits as there are columns in the matrix, with the low-order bit corresponding to the rightmost pixel in the row. As with the Columns format, a 1 indicates to light the corresponding pixel, and a 0 indicates to keep the pixel dim. If any bits for a row are floating or error values, then all pixels in the row are lit. -->
     输入沿着组件的西边缘排列，矩阵的每一行都有一个多位输入。 每个输入的位数与矩阵中的列数一样多，低位对应于行中最右边的像素。 与列格式一样，1 表示点亮相应的像素，0 表示使像素保持暗淡。 如果一行的任何位是浮动值或错误值，则该行中的所有像素都会点亮。
    </dd>
    <dt>
     <!-- Select Rows/Columns -->
     选择行/列
    </dt>
    <dd>
     <!-- There are two inputs on the component's west edge. The upper multibit input has as many bits as there are columns in the matrix, with the low-order bit corresponding to the rightmost column. The lower multibit input has as many bits as there are rows in the matrix, with the low-order bit corresponding to the bottom row. If any bits in either input are floating or error values, all pixels in the matrix are lit. Normally, though, a pixel at a particular row-column location is lit if the corresponding column bit in the upper input is 1 and the corresponding row bit in the lower input is 1. For example, for a 5x7 matrix, if the first input is 01010 and the second is 0111010, then the second and fourth columns are lit for the second, third, fourth, and sixth rows; the result appears to be a pair of exclamation points. (This input format may seem unintuitive, but LED matrixes are sold commercially with exactly this interface. Lite-On sells such components, for example.) -->
     组件的西边缘有两个输入。 较高的多位输入具有与矩阵中的列一样多的位，低位对应于最右边的列。 较低的多位输入具有与矩阵中的行一样多的位，低位对应于底部行。 如果任一输入中的任何位是浮点值或错误值，则矩阵中的所有像素都会点亮。 不过，通常情况下，如果上部输入中的相应列位为 1 并且下部输入中的相应行位为 1，则特定行列位置处的像素会被点亮。例如，对于 5x7 矩阵，如果第一个输入 为01010，第二个为0111010，则第二、三、四、六行的第二、四列点亮； 结果似乎是一对感叹号。 （这种输入格式可能看起来不直观，但 LED 矩阵在商业上销售时正是使用这种接口。例如，Lite-On 就销售此类组件。
    </dd>
   </dl>
   <h2>
    <!-- Attributes -->
    属性
   </h2>
   <dl>
    <dt>
     <!-- Input Format (read-only after component is created) -->
     输入格式（组件创建后只读）
    </dt>
    <dd>
     <!-- Selects how the pins correspond to pixels, as outlined above. -->
     选择引脚与像素的对应方式，如上所述。
    </dd>
    <dt>
     <!-- Matrix Columns -->
     矩阵列
    </dt>
    <dd>
     <!-- Selects how many columns are in the matrix, which may range from 1 up to 32. -->
     选择矩阵中有多少列，范围可以是 1 到 32。
    </dd>
    <dt>
     <!-- Matrix Rows -->
     矩阵行
    </dt>
    <dd>
     <!-- Selects how many rows are in the matrix, which may range from 1 up to 32. -->
     选择矩阵中有多少行，范围可以是 1 到 32。
    </dd>
    <dt>
     <!-- On Color -->
     关于颜色
    </dt>
    <dd>
     <!-- Selects the color of a pixel when it is <q>lit.</q> -->
     选择
     <q>
      点亮时像素的颜色。
     </q>
    </dd>
    <dt>
     <!-- Off Color -->
     色差
    </dt>
    <dd>
     <!-- Selects the color of a pixel when it is <q>dim.</q> -->
     选择像素
     <q>
      暗淡时的颜色。
     </q>
    </dd>
    <dt>
     <!-- Light Persistence -->
     光持久性
    </dt>
    <dd>
     <!-- When this is other than 0, a pixel that is <q>lit</q> remains lit for the given number of clock ticks after the component's inputs indicate that the pixel should become <q>dim.</q> -->
     当该值不为 0 时，
     <q>
      点亮
     </q>
     的像素在组件输入指示该像素应变为
     <q>
      暗淡
     </q>
     后，在给定的时钟周期数内保持点亮状态。
    </dd>
    <dt>
     <!-- Dot Shape -->
     点形状
    </dt>
    <dd>
     <!-- The square option means that each pixel is drawn as a 10x10 square, filling the component with no gaps between pixels. The circle option means that each pixel is drawn as a diameter-8 circle, with gaps between each circle. The circle option is more difficult to interpret, but it more closely approximates the off-the-shelf LED matrix components. -->
     方形选项意味着每个像素都绘制为 10x10 正方形，填充组件，像素之间没有间隙。 圆形选项意味着每个像素都绘制为直径为 8 的圆，每个圆之间有间隙。 圆形选项更难以解释，但它更接近现成的 LED 矩阵组件。
    </dd>
   </dl>
   <h2>
    <!-- Poke Tool Behavior -->
    Poke 工具行为
   </h2>
   <p>
    <!-- None. -->
    无
   </p>
   <h2>
    <!-- Text Tool Behavior -->
    文本工具行为
   </h2>
   <p>
    <!-- None. -->
    无
   </p>
   <p>
    <!-- <a href="../index.html">Back to <em>Library Reference</em></a> -->
    <b>
     返回
    </b>
    <a href="../index.html">
     电路元件库参考手册
    </a>
   </p>
  </div>
 </body>
</html>
